using System;
using System.Collections.Generic;
using System.Text;

namespace Omniture.Studio.Objects
{
  public enum MessageTypeConstants
  {
    Warning,
    Error,
		Info,
  }

  public class Message
  {
    #region Class Members

    protected MessageTypeConstants _messageType = MessageTypeConstants.Error;
    protected string _text = "";    

    #endregion

    #region Constructor

    public Message(MessageTypeConstants messageType, string text)
    {
      _messageType = messageType;
      _text = text;      
    }

    #endregion

    #region Property Implementations

    public MessageTypeConstants MessageType
    {
      get { return _messageType; }
    }

    public string Text
    {
      get { return _text; }
    }

    #endregion

  }
}
